package HTTPServer;

public class Main {

     public static void main(String[] args) {
         if (args.length!=2) {
             System.out.println("Usage: java HTTPServer <port> <wwwhome>");
             System.exit(-1);
         }
         
         int port = Integer.parseInt(args[0]);
         String wwwhome = args[1];
         new WebServer(new ConcreteHTTPServer(port, wwwhome));
     }

}
